|
This page last changed on Feb 08, 2011 by kgomes.
This is an example of the configuration of a RabbitMQ server on the machine ssds-ingest.
- In order to run RabbitMQ version 2.3.1, it required erlang14B. The default package for RHEL 5 is only at erlang 12B. So I had to add a fedora repository to yum that had a version higher than 12B for RabbitMQ. In order for yum (and pirut) to recognize the repo, I added a file to the /etc/yum.repos.d directory name epel-erlang.repo with the following contents:
- You still need the EPEL repository, so I also added the epel.repo file with the following contents:
- Open up the Package Manager (Applications->Add/Remove Software)
- In the Search tab, enter erlang and select the 14B version of erlang. It will then install a bunch of dependencies (which is a good thing).
- Go to the rabbitmq download page and grab the RHEL version of the RPM
- Use RPM or yum localinstall to install the rabbitmq RPM.
- Once it is installed, it can be started using:
- It can be setup to start as a service by using:
Management Plugins
- If you want the web management console, download the .ez files from the plugins page and install them in the /usr/lib/rabbitmq/lib/rabbitmq_server-2.3.1/plugins and restart the server.
 |
I found that while the core Rabbit server was somewhat immune to the version of Erlang, the plugins were not. |
LDAP Authentication
- I was able to configure the RabbitMQ server to use our internal LDAP system in a chained configuration with the internal RabbitMQ authentication system. This allows you to use your MBARI logins on the RabbitMQ server.
 | One VERY icky caveat
Due to the way we have our Active Directory configured on site, the user DN's are in the form of Lastname, Firstname. While it works, that makes users have to login with a username like
It is ugly and hopefully we can address this in our Active Directory in the future. That said, the LDAP integration works well. |
- Download the ldap-auth plugin and put in the /usr/lib/rabbitmq/lib/rabbitmq_server-2.3.1/plugins directory.
- Create (or add configuration) the /etc/rabbitmq/rabbitmq.config file with the following:
- Restart the server
- With the LDAP authentication working, you can now control access permissions on resources (vhosts, exchanges, bindings, queues). See the following for more details:
- RabbitMQ LDAP Authentication README
- RabbitMQ LDAP Authorization README
|